[gi] don't skip gtk_menu_attach_to_widget, correctly annotate the async callback
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 3 Mar 2011 21:06:28 +0000 (16:06 -0500)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 3 Mar 2011 21:06:28 +0000 (16:06 -0500)
gtk/gtkmenu.c

index 94ba3cd1080866ac861a5bd9e3942ff933699fc4..9ed6423764f5a8b306114d6fd79a4e9b9eb7c8fb 100644 (file)
@@ -1184,11 +1184,11 @@ attach_widget_screen_changed (GtkWidget *attach_widget,
 }
 
 /**
- * gtk_menu_attach_to_widget: (skip)
+ * gtk_menu_attach_to_widget:
  * @menu: a #GtkMenu
  * @attach_widget: the #GtkWidget that the menu will be attached to
- * @detacher: the user supplied callback function that will be called
- *            when the menu calls gtk_menu_detach()
+ * @detacher: (scope async)(allow-none): the user supplied callback function
+ *             that will be called when the menu calls gtk_menu_detach()
  *
  * Attaches the menu to the widget and provides a callback function
  * that will be invoked when the menu calls gtk_menu_detach() during